#ifndef READ_THREAD_H
#define READ_THREAD_H

#include <QThread>
#include <time.h>
#include <fcntl.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <termio.h>
#include <syslog.h>
#include <pthread.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <semaphore.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <bits/signum.h>
#include <sys/resource.h>

#define BAUT B9600
#define DEV3 "/dev/ttySAC2"


class read_thread : public QThread
{
    Q_OBJECT
public:
    explicit read_thread(QObject *parent = 0);

    void run();

signals:

public slots:

private:
    int fd;
};

#endif // READ_THREAD_H
